import Cookies from 'js-cookie';
const TokenKey = 'vue_admin_template_token_BDHSJPJ' as const;
function getToken(): string | undefined {
  return Cookies.get(TokenKey);
}
function setToken(token: string): void {
  Cookies.set(TokenKey, token);
}
function removeToken(): void {
  Cookies.remove(TokenKey);
}
// 导出函数  
export { getToken, setToken, removeToken };